#define MNIST_DATA_CNT  100
const unsigned char mnist_input[MNIST_DATA_CNT * 2][49]={
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,0,0,3,255,248,0,3,255,192,0,0,24,0,0,1,128,0,0,48,0,0,7,0,},
{0,0,96,0,0,14,0,0,0,192,0,0,12,0,0,1,128,0,0,56,0,0,7,0,0,0,96,0,0,12,0,0,1,192,0,0,28,0,0,1,192,0,0,24,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,240,0,0,127,128,0,15,248,0,0,225,192,0,12,24,0,0,3,128,0,0,56,0,0,7,0,0,0,240,0,0,30,0,0,1,192,0,},
{0,60,0,0,3,128,0,0,120,0,0,15,0,0,0,224,0,0,14,0,60,0,255,255,192,15,255,240,0,7,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,4,0,0,0,192,0,0,12,0,0,0,128,0,0,24,0,0,1,128,0,0,24,0,0,3,0,0,0,48,0,},
{0,3,0,0,0,96,0,0,6,0,0,0,96,0,0,14,0,0,0,192,0,0,12,0,0,1,192,0,0,24,0,0,1,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,112,0,0,15,0,0,1,248,0,0,63,224,0,7,255,0,0,126,112,0,15,195,128,0,240,28,0,14,1,192,},
{0,192,30,0,28,1,192,1,192,60,0,28,15,128,1,193,248,0,28,255,0,0,255,240,0,15,252,0,0,127,0,0,1,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,16,24,0,3,0,128,0,48,8,0,6,1,128,0,192,24,0,12,3,128,1,128,48,0,24,7,0,},
{1,128,112,0,24,6,0,1,195,224,0,15,254,0,0,0,224,0,0,6,0,0,0,224,0,0,6,0,0,0,224,0,0,12,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,224,0,0,14,0,0,1,192,0,0,28,0,0,3,192,0,0,56,0,0,3,128,0,0,56,0,},
{0,7,0,0,0,112,0,0,7,0,0,0,224,0,0,14,0,0,0,224,0,0,12,0,0,1,192,0,0,28,0,0,1,192,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,112,6,0,14,0,192,0,192,12,0,24,1,128,3,128,24,0,56,7,0,3,225,240,0,31,254,0,},
{0,126,224,0,0,12,0,0,1,128,0,0,24,0,0,3,128,0,0,48,0,0,3,0,0,0,112,0,0,7,96,0,0,124,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,3,255,0,0,127,248,0,7,3,192,0,96,28,0,6,0,224,0,192,14,0,12,0,96,0,192,6,0,24,0,96,},
{1,128,6,0,24,0,96,1,128,14,0,24,0,192,1,128,28,0,24,3,128,1,128,240,0,31,255,0,0,255,192,0,7,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,1,192,0,0,56,0,0,3,0,0,0,96,0,0,6,0,0,0,96,0,0,14,0,0,0,192,252,0,12,31,224,0,199,198,0,24,240,96,},
{1,142,6,0,25,192,96,1,156,6,0,24,192,192,1,135,24,0,28,7,0,0,227,224,0,7,252,0,0,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,62,0,0,15,240,0,1,255,0,0,60,240,0,7,131,128,0,112,60,0,15,1,192,0,224,12,0,14,0,192,},
{0,192,12,0,28,0,192,1,192,12,0,28,0,192,1,192,24,0,14,1,128,0,96,56,0,6,3,0,0,56,112,0,1,222,0,0,7,128,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,112,0,0,7,128,0,0,112,0,0,7,0,0,0,120,0,0,7,128,0,0,120,0,0,7,128,0,0,120,0,},
{0,7,0,0,0,112,0,0,7,0,0,0,112,0,0,7,128,0,0,120,0,0,7,128,0,0,248,0,0,14,0,0,0,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,240,0,7,248,0,0,248,0,0,14,0,0,0,96,0,0,2,0,0,0,32,0,0,7,240,0,0,243,192,0,12,7,0,},
{0,0,24,0,0,0,192,0,0,6,0,0,0,48,0,0,3,0,0,0,48,0,0,6,0,12,1,192,0,255,248,0,7,248,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,127,128,0,7,255,128,0,35,255,128,0,0,248,0,0,3,192,0,0,24,0,0,1,128,},
{0,0,56,0,0,3,128,0,0,112,0,0,14,0,0,1,224,0,0,28,0,0,3,128,0,0,120,0,0,7,0,0,0,224,0,0,30,0,0,1,192,0,0,24,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,32,0,0,2,0,0,32,32,0,2,2,0,0,96,96,0,6,6,0,0,64,96,0,4,4,0,},
{0,223,192,0,15,254,0,0,192,240,0,0,12,0,0,0,192,0,0,8,0,0,0,128,0,0,8,0,0,1,128,0,0,24,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,192,0,0,62,0,0,7,252,0,1,255,192,0,60,248,0,7,159,128,0,119,240,0,15,254,0,},
{0,252,224,0,0,28,0,0,1,192,0,0,56,0,0,7,0,0,0,112,0,0,14,0,0,0,192,0,0,28,0,0,3,192,0,0,56,0,0,2,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,112,0,0,15,128,0,0,224,0,0,28,0,0,1,128,0,0,56,0,0,3,0,0,0,48,0,0,7,0,0,0,96,0,0,7,252,0,},
{0,127,224,0,7,135,0,0,112,48,0,3,3,0,0,48,48,0,3,135,0,0,28,240,0,0,252,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,96,0,0,4,0,0,0,64,0,0,12,0,0,0,192,0,0,28,1,0,1,128,248,0,24,28,192,1,129,140,0,24,48,192,},
{1,131,12,0,12,96,192,0,198,8,0,7,97,128,0,62,112,0,1,254,0,0,7,128,0,0,124,0,0,3,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,240,0,3,243,128,1,248,16,0,28,0,0,1,128,0,0,24,0,0,3,128,0,0,48,0,0,3,0,0,},
{0,48,0,0,3,248,0,0,63,224,0,0,6,0,0,0,96,0,0,14,0,0,3,192,0,0,240,0,0,126,0,0,31,128,0,0,192,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,16,0,0,3,8,0,0,32,192,0,4,4,0,0,64,64,0,4,12,0,0,128,192,0,8,12,0,},
{1,128,192,0,28,4,0,0,127,240,0,0,12,0,0,0,192,0,0,12,0,0,0,64,0,0,4,0,0,0,64,0,0,6,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,63,128,0,3,252,0,7,63,192,0,249,254,0,31,143,224,3,248,15,0,63,128,112,3,240,7,0,127,0,240,},
{7,224,15,0,124,3,240,7,192,254,0,124,127,192,7,255,252,0,63,255,128,3,255,224,0,31,252,0,0,255,0,0,3,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,192,0,35,254,0,7,224,224,0,120,7,0,4,0,112,0,0,7,0,},
{0,0,48,0,0,3,0,0,0,96,0,0,6,0,0,0,96,0,0,4,0,0,0,64,0,0,12,0,0,0,192,0,0,12,0,0,0,128,0,0,24,0,0,1,128,0,0,16,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,12,24,0,1,129,128,0,24,24,0,3,131,0,0,48,48,0,6,3,0,0,224,48,0,28,3,0,},
{1,240,112,0,31,255,0,0,255,224,0,0,110,0,0,0,224,0,0,14,0,0,0,224,0,0,12,0,0,0,192,0,0,12,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,0,0,1,128,0,0,28,0,0,0,192,0,0,6,0,0,0,96,0,0,14,0,0,0,96,0,0,14,0,0,0,224,0,},
{0,7,0,0,0,48,0,0,3,0,0,0,48,0,0,3,0,0,0,112,0,0,7,0,0,0,48,0,0,3,0,0,0,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,127,0,0,31,248,0,1,239,192,0,8,56,0,0,7,128,0,0,240,0,0,31,0,0,1,248,0,},
{0,7,224,0,0,31,0,0,0,112,0,0,7,0,0,0,224,0,0,30,0,0,3,192,0,0,248,0,0,126,0,0,15,192,0,0,240,0,0,4,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,192,0,0,14,0,0,0,96,0,0,6,0,0,0,96,0,0,6,0,0,0,112,0,0,7,0,0,0,48,0,},
{0,3,0,0,0,48,0,0,3,128,0,0,24,0,0,1,128,0,0,24,0,0,1,128,0,0,24,0,0,1,128,0,0,24,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,192,0,1,255,0,0,31,48,0,1,131,0,0,0,48,0,0,7,0,0,0,224,0,0,30,0,0,7,240,0,},
{0,127,192,0,7,30,0,0,0,240,0,0,7,0,0,0,56,0,0,1,128,0,0,56,0,0,15,128,0,7,240,0,3,252,0,0,62,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,240,0,1,255,192,0,62,12,0,7,0,192,0,224,12,0,24,0,192,1,0,12,0,0,0,192,0,0,24,0,0,3,128,},
{0,0,112,0,0,14,0,0,1,192,0,0,56,0,0,31,0,0,15,248,32,3,255,244,0,127,15,192,7,224,48,0,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25,254,0,3,255,240,0,126,3,0,15,0,48,1,224,3,0,24,0,112,0,0,6,0,},
{0,0,224,0,0,12,0,0,0,192,0,0,24,0,0,1,248,0,0,127,128,0,15,128,0,0,48,0,0,3,0,0,0,48,0,0,2,0,0,0,32,0,0,2,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,192,0,0,14,0,0,0,224,0,0,14,0,0,0,224,0,0,7,0,0,0,112,0,0,7,0,0,0,112,0,},
{0,7,0,0,0,112,0,0,7,0,0,0,112,0,0,7,0,0,0,112,0,0,7,0,0,0,112,0,0,3,0,0,0,48,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,48,0,0,3,192,0,0,124,0,0,7,192,0,0,120,0,0,7,128,0,0,248,0,0,15,0,0,0,240,0,},
{0,15,0,0,0,240,0,0,14,0,0,0,224,0,0,14,0,0,0,240,0,0,15,0,0,0,240,0,0,15,0,0,0,96,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,96,0,0,6,0,0,0,32,0,0,2,0,0,0,32,0,0,2,0,0,0,32,0,0,2,0,0,0,32,0,},
{0,2,0,0,0,32,0,0,2,0,0,0,96,0,0,6,0,0,0,96,0,0,6,0,0,0,64,0,0,4,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,120,0,0,127,192,0,31,204,0,1,192,64,0,0,6,0,0,0,96,0,0,4,0,},
{0,0,192,0,0,8,0,0,3,128,0,0,63,0,0,3,248,0,0,49,128,0,6,0,0,0,96,0,0,12,0,0,0,128,0,0,24,0,0,1,0,0,0,16,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,48,0,14,3,0,0,192,112,0,12,7,0,0,192,240,0,12,30,0,1,193,224,0,28,62,0,},
{0,199,224,0,14,252,0,0,127,192,0,1,156,0,0,3,192,0,0,56,0,0,3,128,0,0,48,0,0,3,0,0,0,48,0,0,3,0,0,0,16,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,0,0,0,192,0,0,12,0,0,0,192,0,0,8,0,0,1,128,0,0,48,0,0,7,0,0,0,96,0,},
{0,12,0,0,1,128,48,0,31,255,0,7,224,24,1,240,0,0,124,0,0,7,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,60,0,0,7,192,0,0,254,0,0,8,224,0,0,6,0,0,0,96,0,0,6,0,0,0,224,0,0,14,0,0,0,248,0,},
{0,15,192,0,0,30,0,0,0,224,0,0,14,0,0,1,224,0,0,60,0,0,15,128,0,1,240,0,0,62,0,0,1,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,56,0,0,3,128,0,0,60,0,0,3,192,0,0,30,0,0,1,224,0,0,15,0,0,0,240,0,0,7,0,0,0,120,0,},
{0,7,128,0,0,120,0,0,3,192,0,0,60,0,0,1,224,0,0,30,0,0,1,240,0,0,15,0,0,0,224,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,24,0,3,131,128,0,120,120,0,15,135,192,0,240,120,0,31,15,128,1,243,248,0,63,255,0,},
{1,255,240,0,31,255,0,1,255,240,0,0,30,0,0,1,224,0,0,31,0,0,1,240,0,0,62,0,0,3,224,0,0,62,0,0,3,192,0,0,56,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,1,128,32,0,24,3,0,1,128,48,0,24,3,0,1,128,48,0,24,3,32,1,128,54,0,24,7,192,},
{1,128,120,0,30,63,0,0,255,240,0,7,247,0,0,0,96,0,0,7,0,0,0,96,0,0,6,0,0,0,96,0,0,6,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,224,0,0,14,0,0,1,192,0,0,56,0,0,3,0,0,0,96,0,0,6,0,0,1,192,0,0,24,0,0,3,128,0,},
{0,49,224,0,3,63,0,0,112,112,0,6,7,0,0,112,112,0,7,6,0,0,125,224,0,1,252,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,255,0,0,255,252,0,15,255,224,0,124,30,0,0,1,224,0,0,124,0,0,31,192,0,15,255,0,},
{0,255,254,0,15,3,224,0,0,15,0,0,0,112,0,0,7,0,6,0,224,0,124,254,0,7,255,192,0,31,248,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,128,0,3,224,0,15,240,0,1,248,0,0,62,0,0,7,128,0,0,112,0,0,14,0,0,},
{0,199,0,0,15,252,0,1,240,224,0,8,7,0,0,0,48,0,0,7,0,0,0,224,0,0,60,0,0,31,128,0,63,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,192,0,0,48,0,0,124,0,0,15,0,0,0,128,0,0,8,0,0,0,128,0,0,24,0,0,0,143,224,0,15,131,0,},
{0,224,8,0,0,0,192,0,0,4,0,0,0,64,0,0,4,0,0,0,192,0,0,12,0,4,3,128,0,32,240,0,3,248,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,112,0,0,15,0,0,1,224,0,0,28,0,0,3,192,0,0,56,0,0,3,128,0,0,56,31,224,3,131,255,128,56,120,28,},
{3,135,0,192,56,112,12,3,135,128,128,28,28,24,1,224,225,128,15,7,176,0,124,30,0,3,255,128,0,7,224,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,0,0,15,192,0,0,247,0,0,28,112,0,3,195,0,0,60,56,0,3,129,128,0,56,24,0,3,129,128,},
{0,120,24,0,7,129,128,0,112,24,0,7,1,128,0,96,48,0,6,3,0,0,112,112,0,7,14,0,0,63,192,0,3,248,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,224,12,0,14,0,224,0,224,28,0,14,1,192,0,224,28,0,30,1,128,1,192,24,0,28,3,128,},
{1,254,120,0,31,255,128,1,255,248,0,12,7,0,0,0,96,0,0,14,0,0,0,224,0,0,14,0,0,0,224,0,0,14,0,0,0,192,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,1,192,0,0,28,0,0,1,128,0,0,24,0,0,1,128,0,0,56,0,0,3,0,0,0,48,0,},
{0,2,0,0,0,32,0,0,6,0,0,0,96,0,0,12,0,0,0,192,0,0,12,0,0,0,192,0,0,12,0,0,0,192,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,48,0,0,60,0,0,31,0,0,31,192,0,3,224,0,0,0,0,0,0,0,0,},
{0,64,0,0,6,0,0,0,120,0,0,0,192,0,0,12,0,0,0,192,0,0,8,0,0,0,128,0,0,24,0,0,1,128,0,0,48,0,0,2,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,240,0,0,63,254,0,1,255,248,0,3,255,224,0,0,63,0,0,0,248,0,0,7,128,},
{0,0,120,0,0,7,128,0,0,124,0,0,7,128,0,0,120,0,0,7,128,0,0,240,0,0,15,0,0,0,224,0,0,30,0,0,3,224,0,0,60,0,0,3,128,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,63,0,0,2,126,0,0,96,0,0,6,0,0,0,64,0,0,6,0,0,0,96,128,0,6,12,0,},
{0,32,128,0,3,24,0,0,25,128,0,1,248,0,0,5,128,0,0,8,0,0,0,128,0,0,24,0,0,1,128,0,0,8,0,0,0,128,0,0,8,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,30,0,0,0,240,0,0,7,192,0,0,30,0,0,0,224,0,0,7,0,0,0,48,0,0,3,0,0,0,240,0,7,222,0,},
{0,127,128,0,0,248,0,0,3,128,0,0,24,0,0,1,128,0,16,120,0,3,15,128,0,63,192,0,3,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,127,228,0,7,255,254,0,0,255,224,0,0,30,0,0,1,192,0,0,56,0,0,7,0,},
{0,127,240,0,7,255,224,0,31,254,0,0,124,0,0,15,0,0,1,192,0,0,28,0,0,3,128,0,0,48,0,0,6,0,0,0,224,0,0,28,0,0,1,192,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,192,0,0,12,0,0,8,192,0,0,140,0,0,8,192,0,1,140,0,0,24,192,0,3,204,0,},
{0,63,192,0,3,140,0,0,32,192,0,0,12,0,0,0,192,0,0,12,0,0,0,128,0,0,24,0,0,1,128,0,0,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,4,0,0,0,192,0,0,28,0,0,3,128,0,0,32,0,0,6,0,0,0,64,28,0,12,7,192,0,192,236,0,8,28,192,1,129,140,0,24,48,192,},
{1,131,12,0,16,49,128,1,130,24,0,24,35,0,0,195,96,0,14,60,0,0,127,192,0,3,248,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,0,0,14,0,0,1,192,0,0,56,0,12,1,128,1,128,48,0,112,7,0,6,0,112,0,96,6,0,},
{7,0,96,0,120,30,0,3,255,224,0,31,252,0,0,64,192,0,0,12,0,0,1,192,0,0,28,0,0,1,192,0,0,24,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,248,0,0,255,192,0,31,254,0,0,243,240,0,0,31,0,0,7,224,0,1,254,0,0,31,192,0,7,248,0,},
{0,127,192,0,7,254,0,0,63,240,0,0,15,0,0,0,240,0,0,15,0,0,57,240,0,7,254,0,0,63,224,0,3,248,0,0,31,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,3,255,192,0,127,254,0,15,96,112,1,192,3,0,24,0,24,3,0,1,128,112,0,24,},
{6,0,1,128,96,0,56,6,0,3,128,96,0,112,7,0,30,0,62,127,192,1,255,224,0,7,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,63,255,128,3,255,255,0,0,11,248,0,0,7,192,0,0,28,0,0,1,192,},
{0,0,56,0,0,3,128,0,0,112,0,0,14,0,0,1,192,0,0,60,0,0,3,128,0,0,112,0,0,14,0,0,1,224,0,0,28,0,0,3,128,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,128,0,1,254,0,0,63,248,0,7,207,192,0,120,62,0,15,1,224,1,240,14,0,30,0,224,1,192,14,0,60,0,240,},
{3,128,15,0,56,0,240,3,192,14,0,60,1,224,1,192,30,0,28,7,224,1,239,252,0,15,255,128,0,255,224,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,0,0,7,0,0,0,112,0,0,15,0,0,0,240,0,0,15,0,0,0,240,0,0,15,0,0,0,112,0,},
{0,7,0,0,0,112,0,0,7,0,0,0,112,0,0,7,0,0,0,112,0,0,7,0,0,0,224,0,0,14,0,0,0,224,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,112,0,247,255,0,7,255,224,0,0,28,0,0,1,128,0,0,24,0,},
{0,3,128,0,0,60,128,0,63,248,0,1,254,0,0,3,0,0,0,48,0,0,3,0,0,0,112,0,0,7,0,0,0,96,0,0,6,0,0,0,96,0,0,2,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,128,0,0,248,0,0,25,192,0,3,8,0,0,0,128,0,0,24,0,0,3,128,0,0,112,0,0,30,0,0,3,240,0,},
{0,31,128,0,0,14,0,0,0,112,0,0,3,0,0,0,48,0,0,3,0,0,0,96,0,8,30,0,0,195,192,0,15,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,224,0,0,127,128,0,30,14,0,3,0,96,0,96,6,0,6,0,96,0,0,6,0,},
{0,0,96,0,0,12,0,0,1,128,0,0,48,0,0,14,0,0,1,192,0,0,63,255,128,3,7,120,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,192,0,127,252,0,63,255,192,3,255,252,0,63,255,192,1,128,124,0,0,15,192,},
{0,1,248,0,0,63,0,0,7,240,0,0,252,0,0,15,128,0,3,248,0,0,62,0,0,7,224,0,0,252,0,0,31,128,0,0,248,0,0,15,0,0,0,32,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,3,192,0,0,124,0,0,15,192,0,1,224,0,0,60,0,0,3,128,0,0,112,0,0,7,0,0,0,112,0,0,6,3,0,},
{0,96,240,0,6,31,128,0,97,248,0,6,57,128,0,115,24,0,3,187,0,0,63,240,0,1,254,0,0,7,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,15,240,0,7,255,0,0,254,112,0,7,3,0,0,0,48,0,0,3,0,0,0,48,0,0,7,0,0,0,112,0,0,14,0,},
{0,0,224,0,0,30,0,0,127,192,0,15,254,0,1,255,240,0,63,239,192,3,252,30,0,63,0,96,1,224,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,255,224,0,7,255,0,0,192,112,0,12,6,0,1,128,96,0,24,6,0,},
{0,0,224,0,0,14,0,0,0,192,0,0,12,0,0,0,192,0,0,12,0,0,0,192,0,0,28,0,0,1,192,0,0,28,0,0,1,192,0,0,24,0,0,1,128,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,192,0,1,158,0,0,112,224,0,60,28,0,15,7,128,0,224,224,0,28,28,0,1,131,128,0,30,112,0,},
{0,254,0,0,3,240,0,0,31,192,0,1,135,0,0,24,48,0,1,129,128,0,24,48,0,1,131,0,0,12,48,0,0,110,0,0,3,128,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,128,0,128,60,0,28,3,192,1,224,60,0,30,7,128,1,224,120,0,62,31,128,3,255,240,0,63,255,0,},
{3,255,240,0,63,254,0,1,253,224,0,14,15,128,0,0,248,0,0,15,0,0,1,224,0,0,30,0,0,1,192,0,0,28,0,0,1,192,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,192,0,0,255,240,0,15,255,0,0,127,240,0,0,31,0,0,0,240,0,0,30,0,},
{0,3,224,0,0,60,0,0,7,128,0,0,120,0,0,15,0,0,1,224,0,0,30,0,0,1,224,0,0,30,0,0,1,192,0,0,60,0,0,1,128,0,0,24,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,224,0,3,254,0,0,120,96,0,0,6,0,0,0,224,0,0,28,0,0,3,192,0,0,127,128,0,31,124,0,},
{0,192,225,0,0,6,96,0,0,60,0,0,3,128,0,0,240,0,0,31,0,0,3,112,0,0,110,0,0,13,224,0,0,252,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,12,0,0,1,224,0,0,26,0,0,3,128,0,0,48,0,0,7,0,0,0,96,0,0,6,0,0,0,224,0,0,14,1,128,0,224,60,0,14,7,224,},
{0,224,246,0,6,28,112,0,99,135,0,7,48,96,0,63,30,0,1,255,192,0,15,240,0,0,62,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,0,0,6,0,0,0,96,0,0,14,0,0,1,224,0,0,28,0,0,3,128,0,0,56,0,0,7,128,0,0,120,0,},
{0,15,0,0,0,240,0,0,7,128,0,0,240,0,0,14,0,0,1,224,0,0,62,0,0,3,192,0,0,60,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,62,0,0,15,240,0,3,227,0,0,56,48,0,2,6,0,0,1,224,0,0,60,0,0,31,192,0,1,254,0,},
{0,0,112,0,0,3,0,0,0,24,0,0,3,128,0,0,48,0,24,3,0,1,128,112,0,24,30,0,1,199,192,0,31,240,0,0,124,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,192,0,0,28,0,0,1,128,0,0,48,0,0,6,0,0,0,96,0,0,12,0,0,1,128,0,0,56,0,0,3,0,0,0,48,0,0,7,31,0,},
{0,115,176,0,7,115,128,0,124,48,0,3,195,0,0,56,48,0,1,254,0,0,15,224,0,0,124,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,0,0,255,128,0,15,254,0,0,63,224,0,1,254,0,0,31,224,0,1,252,0,0,63,224,0,1,254,0,},
{0,15,224,0,0,31,0,0,0,240,0,0,15,0,0,1,224,0,0,62,0,0,239,224,0,15,252,0,0,255,192,0,15,240,0,0,60,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,1,224,0,0,30,0,0,1,224,0,0,30,0,0,1,240,0,0,31,0,0,1,248,0,0,15,128,0,0,248,0,},
{0,15,128,0,0,248,0,0,15,128,0,0,248,0,0,15,128,0,0,248,0,0,7,128,0,0,124,0,0,7,224,0,0,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,28,0,0,1,192,0,0,28,0,0,1,192,0,0,14,0,0,0,224,0,0,7,0,0,0,48,0,},
{0,3,128,0,0,56,0,0,3,128,0,0,24,0,0,1,128,0,0,12,0,0,0,192,0,0,12,0,0,0,192,0,0,12,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,15,0,0,1,248,0,0,113,128,0,14,8,0,0,192,0,0,24,0,0,3,128,0,0,112,0,0,6,0,0,0,96,0,0,14,0,0,},
{0,96,0,0,12,0,0,0,224,0,0,14,31,0,0,239,248,0,7,195,128,0,120,56,0,3,255,0,0,15,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,4,0,0,0,192,0,0,24,0,0,1,0,0,0,48,0,0,2,0,0,0,32,0,0,6,0,0,0,96,56,0,4,15,192,0,65,130,0,4,48,32,},
{0,66,2,0,4,32,32,0,98,2,0,6,32,32,0,51,132,0,3,129,128,0,30,112,0,0,124,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,0,7,240,0,1,251,128,0,61,152,0,3,128,192,0,112,6,0,15,0,96,0,224,2,0,12,0,32,},
{1,192,2,0,28,0,32,1,128,6,0,24,0,96,1,128,12,0,12,1,192,0,224,56,0,6,7,0,0,127,224,0,3,252,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,63,0,7,255,248,0,255,227,0,31,128,0,3,144,0,0,124,0,0,3,252,0,0,1,240,0,},
{0,3,192,0,0,30,0,0,0,224,0,0,3,0,0,0,48,0,0,7,0,0,0,224,0,0,30,0,0,7,192,0,25,240,0,1,254,0,0,15,128,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,3,128,0,0,56,0,8,3,0,1,128,48,0,28,3,0,1,192,48,0,28,3,0,1,192,112,0,56,7,0,},
{7,128,112,1,255,255,0,31,255,240,0,0,15,0,0,0,112,0,0,7,0,0,0,112,0,0,7,0,0,0,112,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,192,0,2,255,0,0,250,28,0,31,1,192,1,192,12,0,0,0,224,0,0,6,0,0,0,96,0,0,12,0,0,1,192,},
{0,0,28,0,0,3,192,0,127,184,0,30,7,128,1,192,248,0,56,31,128,7,3,136,0,112,224,0,3,248,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,3,0,0,0,112,0,0,14,0,0,1,192,0,0,28,0,0,3,192,0,0,56,0,0,7,0,0,0,240,0,},
{0,14,0,0,1,192,0,0,24,0,0,3,128,0,0,56,0,0,7,0,0,0,56,0,0,3,128,0,0,56,0,0,1,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,96,0,0,4,16,0,0,193,0,0,24,48,0,3,131,0,0,48,32,0,6,6,0,0,96,96,0,12,4,0,},
{0,192,192,0,12,12,192,0,241,248,0,7,254,0,0,7,128,0,0,48,0,0,3,0,0,0,48,0,0,3,0,0,0,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,240,0,0,63,128,0,0,28,0,0,1,192,0,0,56,0,0,7,0,0,0,224,0,0,28,0,0,3,192,0,},
{0,30,0,0,0,112,0,0,3,128,0,0,12,0,0,0,224,0,0,28,0,0,1,192,0,0,56,0,0,7,0,0,3,224,0,0,60,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,0,0,7,240,0,0,127,128,0,3,248,0,0,1,128,0,0,8,0,0,0,128,0,0,8,0,},
{0,1,128,0,0,127,128,0,31,240,0,3,252,0,0,55,0,0,0,112,0,0,6,0,0,0,96,0,0,4,0,0,0,64,0,0,4,0,0,0,64,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,24,0,0,3,0,0,0,96,0,0,12,0,0,1,192,0,0,24,64,0,3,6,0,0,96,224,0,6,12,0,},
{0,96,192,0,7,28,0,0,63,128,0,1,248,0,0,3,0,0,0,48,0,0,7,0,0,0,112,0,0,6,0,0,0,96,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,24,0,0,1,128,0,0,24,0,0,3,3,0,0,48,48,0,3,6,0,0,48,224,0,3,28,0,},
{0,59,192,0,1,252,0,0,14,192,0,0,8,0,0,0,128,0,0,24,0,0,1,128,0,0,24,0,0,1,128,0,0,24,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,6,0,32,0,224,2,0,12,0,112,0,192,6,0,28,0,112,1,128,7,0,56,0,62,3,0,},
{3,255,240,0,31,255,0,0,255,112,0,7,247,0,0,0,112,0,0,7,0,0,0,112,0,0,6,0,0,0,96,0,0,6,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,0,0,31,224,0,3,255,128,0,124,24,0,15,129,128,1,224,24,0,28,3,128,1,192,48,0,8,7,0,},
{0,0,112,0,0,6,0,0,7,224,0,1,254,0,0,31,224,0,3,251,0,0,63,48,0,3,227,0,0,60,56,0,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,60,0,0,255,240,0,63,255,128,3,248,56,0,56,0,0,3,128,0,0,24,0,0,1,254,0,0,15,248,0,},
{0,255,224,0,7,255,0,0,1,240,0,0,7,128,0,0,120,0,0,7,128,0,3,248,0,15,255,0,0,127,224,0,7,252,0,0,28,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,128,0,0,56,0,0,6,0,0,0,192,0,0,28,0,0,1,128,32,0,48,6,0,3,0,224,0,112,28,0,6,1,128,},
{0,96,120,0,6,15,0,0,119,224,0,7,248,0,0,7,0,0,0,96,0,0,14,0,0,1,192,0,0,24,0,0,1,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,128,0,0,31,128,0,0,254,0,0,1,240,0,0,1,128,0,0,12,0,0,0,192,0,0,12,0,},
{0,0,192,0,0,12,0,0,0,192,0,0,12,0,0,0,192,0,0,8,0,0,0,128,0,0,24,0,0,1,128,0,0,24,0,0,1,128,0,0,24,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,192,0,0,24,0,0,3,128,0,0,112,0,0,6,0,0,0,192,0,0,28,0,0,1,128,0,0,48,0,0,7,15,0,0,97,248,0,6,61,128,},
{0,99,152,0,6,49,128,0,195,24,0,12,51,0,0,99,112,0,6,30,0,0,127,240,0,1,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,240,0,0,127,0,0,63,128,0,31,224,0,15,248,0,1,252,0,0,14,0,0,0,224,0,0,14,0,0,},
{0,248,0,0,3,224,0,0,15,128,0,0,56,0,0,1,192,0,0,28,0,0,1,192,0,0,28,0,0,255,192,0,7,248,0,0,30,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,248,0,31,255,128,1,255,248,0,30,3,128,1,224,112,0,15,30,0,0,127,192,0,7,252,0,},
{0,31,128,0,0,248,0,0,31,192,0,1,252,0,0,56,192,0,7,14,0,0,112,96,0,7,6,0,0,112,224,0,3,254,0,0,63,192,0,0,96,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,48,0,3,63,0,0,255,192,0,31,224,0,3,128,0,0,112,0,0,6,0,0,0,96,0,0,7,128,0,},
{0,62,0,0,0,248,0,0,3,224,0,0,14,0,0,0,96,0,0,14,0,0,1,192,0,0,120,0,0,159,0,0,15,192,0,0,240,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,6,0,0,1,240,0,0,127,0,0,15,192,0,0,240,0,0,30,0,0,3,192,0,0,124,0,0,7,128,0,0,240,112,0,15,31,128,},
{0,243,252,0,14,127,192,0,247,60,0,15,231,192,0,127,248,0,3,255,0,0,31,192,0,0,252,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,0,0,0,0,3,128,0,0,120,0,0,31,128,0,7,248,0,0,249,0,0,31,0,0,3,224,0,0,60,0,0,7,128,0,0,112,0,0,7,3,192,},
{0,241,252,0,14,127,192,0,255,220,0,15,243,192,0,254,120,0,15,255,0,0,255,224,0,7,252,0,0,63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
};

const unsigned char mnist_label[MNIST_DATA_CNT]={
7,2,1,4,4,1,4,0,6,0,1,5,3,4,9,6,6,5,4,0,7,4,1,3,1,3,2,7,1,1,1,7,2,2,3,1,4,4,6,3,8,5,6,0,4,1,5,7,9,3,7,4,6,4,3,0,7,0,1,7,3,2,7,6,2,7,8,4,7,3,6,1,3,6,3,1,1,6,6,0,5,4,2,1,4,3,7,4,4,4,2,5,4,7,6,5,8,5,6,6,};

